﻿<%@ Page Title="Experiencia Laboral" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Empresas.aspx.vb" Inherits="Empresas_Empresas" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<%@ Register src="../../CtrlUsr/Personas/Up_Ctrl_Personas.ascx" tagname="Up_Ctrl_Personas" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <link href="../../Styles/table_design.css" rel="stylesheet" type="text/css" />
    <style type="text/css">

        .style1
        {
            text-align: center;
        }
        tbody th {
 text-align:left;
 padding:2px;
}
thead th {
 border-right: 1px solid #fff;
 color:#000;
 text-align:center;
 padding:2px;
 text-transform:uppercase;
 height:25px;
 background-color: #cff4c7;
 font-weight: normal;
}
        .style3
        {
            text-align: center;
            }
        .style2
        {
            height: 21px;
            text-align: center;
        }
        .style4
        {
            height: 21px;
            text-align: center;
            }
        .style9
        {
            width: 399px;
        }
        .ModalPanel2
        {}
        .style10
        {
            width: 53px;
        }
        .style11
        {
            width: 302px;
        }
        .style12
        {
            text-align: center;
            width: 198px;
        }
        .style13
        {
            height: 21px;
            text-align: center;
            width: 198px;
        }
        .style14
        {
            width: 35px;
        }
        .style15
        {
            width: 37px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="1">
                <asp:View ID="View1" runat="server">
                     <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                         ValidationGroup="Guardar" SkinID="ValidationSummary1" />
                     <table class="Table" style="width:100%;">
                         <thead>
                             <tr>
                                 <td class="style1" colspan="4">
                                     Datos Personales</td>
                             </tr>
                         </thead>
                         <thead>
                             <tr>
                                 <th class="style12">
                                     tipo de documento<th class="style1">
                                         &nbsp;Documento</td> de identidad<th class="style3" colspan="2">
                                             Nombre o razon social</th>
                                     </th>
                                 </th>
                             </tr>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                         </thead>
                         <tr>
                             <td class="style13">
                                 <telerik:RadComboBox ID="CmbTipId" Runat="server" Skin="Telerik" 
                                     DataSourceID="ObjTipDoc" DataTextField="NOM_TIPO" 
                                     DataValueField="COD_TIPO"></telerik:RadComboBox>
                                 <asp:ObjectDataSource ID="ObjTipDoc" runat="server" 
                                     OldValuesParameterFormatString="original_{0}" SelectMethod="GetRecords" 
                                     TypeName="TipDocumento"></asp:ObjectDataSource>
                             </td>
                             <td class="style2">
                                 <telerik:RadNumericTextBox ID="TxtId" Runat="server" AutoPostBack="True"></telerik:RadNumericTextBox>
                                 <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                     ControlToValidate="TxtId" ErrorMessage="La cedula es obligatoria" 
                                     ValidationGroup="Guardar" ForeColor="Red">*</asp:RequiredFieldValidator>
                             </td>
                             <td class="style4" colspan="2">
                                 <asp:TextBox ID="TxtNom" runat="server" Width="393px"></asp:TextBox>
                             </td>
                         </tr>
                         <thead>
                             <tr>
                                 <th class="style12">
                                     Cedula representante legal<th class="style1">
                                         representante legal<th class="style3" colspan="2">
                                             CONTACTO</th>
                                     </th>
                                 </th>
                             </tr>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                         </thead>
                         <tr>
                             <td class="style12">
                                 <telerik:RadNumericTextBox ID="TxtIdRep" Runat="server">
                                 </telerik:RadNumericTextBox>
                                 <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                     ControlToValidate="TxtIdRep" 
                                     ErrorMessage="La cedula del representante legal es obligatoria" ForeColor="Red" 
                                     ValidationGroup="Guardar">*</asp:RequiredFieldValidator>
                             </td>
                             <td class="style1">
                                 <asp:TextBox ID="TxtRepLeg" runat="server" 
                                     style="margin-bottom: 0px" Width="400px"></asp:TextBox>
                                 <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                     ControlToValidate="TxtRepLeg" ErrorMessage="El primer nombre es obligatorio" 
                                     ForeColor="Red" ValidationGroup="Guardar">*</asp:RequiredFieldValidator>
                             </td>
                             <td class="style3" colspan="2">
                                 <asp:TextBox ID="TxtContac" runat="server" Width="400px"></asp:TextBox>
                             </td>
                         </tr>
                         <thead>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                         </thead>
                         <thead>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                             </th>
                         </thead>
                         <thead>
                         </thead>
                         <thead>
                             <tr>
                                 <td class="style1" colspan="4">
                                     Datos de Ubicacion</td>
                             </tr>
                             <tr>
                                 <th class="style12">
                                     Dirección</th>
                                 <th class="style1">
                                     Télefono</th>
                                 <th class="style3">
                                     Telefono Celular</th>
                                 <th class="style1">
                                     Fax</th>
                             </tr>
                         </thead>
                         <tr>
                             <td class="style12">
                                 <asp:TextBox ID="TxtDir" runat="server"></asp:TextBox>
                             </td>
                             <td class="style1">
                                 <asp:TextBox ID="TxtTel" runat="server"></asp:TextBox>
                                 <ajaxToolkit:FilteredTextBoxExtender ID="f1" 
                                 runat="server"
                                 FilterType="Numbers" TargetControlID="TxtTel"></ajaxToolkit:FilteredTextBoxExtender>
                             </td>
                             <td class="style3">
                                 <asp:TextBox ID="TxtCel" runat="server"></asp:TextBox>
                                 <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" 
                                 runat="server"
                                 FilterType="Numbers" TargetControlID="TxtCel"></ajaxToolkit:FilteredTextBoxExtender>
                             </td>
                             <td class="style1">
                                 <asp:TextBox ID="TxtFax" runat="server"></asp:TextBox>
                                 <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" 
                                 runat="server"
                                 FilterType="Numbers" TargetControlID="TxtFax"></ajaxToolkit:FilteredTextBoxExtender>
                             </td>
                         </tr>
                         <thead>
                             <tr>
                                 <th class="style12">
                                     País</th>
                                 <th class="style1">
                                     Departamento</th>
                                 <th class="style3">
                                     Ciudad</th>
                                 <th class="style1">
                                     Correo Electrónico</th>
                             </tr>
                         </thead>
                         <tr>
                             <td class="style12">
                                 <asp:Label ID="Label13" runat="server">COLOMBIA</asp:Label>
                             </td>
                             <td class="style1">
                                 <telerik:RadComboBox ID="CmbDptoUbi" Runat="server" AutoPostBack="True" 
                                     DataSourceID="ObjDpto" DataTextField="NOM_DPTO" DataValueField="COD_DPTO" 
                                     Skin="Telerik"></telerik:RadComboBox>
                                 <asp:ObjectDataSource ID="ObjDpto" runat="server" 
                                     OldValuesParameterFormatString="original_{0}" SelectMethod="GetRecords" 
                                     TypeName="Departamentos"></asp:ObjectDataSource>
                             </td>
                             <td class="style3">
                                 <telerik:RadComboBox ID="CmbMunUbi" Runat="server" DataSourceID="ObjMun" 
                                     DataTextField="NOM_MUNICIPIO" DataValueField="COD_MCPIO" 
                                     Skin="Telerik"></telerik:RadComboBox>
                                 <asp:ObjectDataSource ID="ObjMun" runat="server" 
                                     OldValuesParameterFormatString="original_{0}" SelectMethod="GetByDpto" 
                                     TypeName="Municipio">
                                     <SelectParameters>
                                         <asp:ControlParameter ControlID="CmbDptoUbi" Name="Cod_dpto" 
                                             PropertyName="SelectedValue" Type="String" />
                                     </SelectParameters>
                                 </asp:ObjectDataSource>
                             </td>
                             <td class="style1">
                                 <asp:TextBox ID="TxtEmail" runat="server"></asp:TextBox>
                             </td>
                         </tr>
                         <tr>
                             <td class="style12">
                                 &nbsp;</td>
                             <td class="style1">
                                 &nbsp;</td>
                             <td class="style3">
                                 &nbsp;</td>
                             <td class="style1">
                                 &nbsp;</td>
                         </tr>
                         <tr>
                             <td class="style1" colspan="4">
                                 <asp:ImageButton ID="ImageButton1" runat="server" Height="32px" 
                                     ImageUrl="~/Imagenes/floppy_disk_green.png" 
                                     ToolTip="Guardar/Actualizar Datos" Width="32px" 
                                     ValidationGroup="Guardar" />
                                 <asp:ImageButton ID="BtnVolver" runat="server" Height="32px" 
                                     ImageUrl="~/Imagenes/undo_.png" 
                                     ToolTip="Actualizar Datos" Width="32px" />
                             </td>
                         </tr>
                     </table>
                     <br />
                     <br />
                </asp:View>
                <asp:View ID="View2" runat="server">
                    <table style="width: 100%;">
                        <tr>
                            <td class="style10">
                                &nbsp;</td>
                            <td class="style11">
                                &nbsp;</td>
                            <td class="style14">
                                &nbsp;</td>
                            <td class="style15">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style10">
                                Buscar</td>
                            <td class="style11">
                                <asp:TextBox ID="TextBox1" runat="server" Width="298px"></asp:TextBox>
                            </td>
                            <td class="style14">
                                <asp:ImageButton ID="ImageButton4" runat="server" Height="32px" 
                                    ImageUrl="~/Imagenes/search.png" Width="32px" />
                            </td>
                            <td class="style15">
                                <asp:ImageButton ID="ImageButton5" runat="server" Height="32px" 
                                    ImageUrl="~/Imagenes/Imprimir.png" ToolTip="Imprimir listado de empresas" 
                                    Width="32px" />
                            </td>
                            <td>
                                <asp:ImageButton ID="ImageButton6" runat="server" Height="32px" 
                                    ImageUrl="~/Imagenes/document_pdf.png" ToolTip="Exportar Listado a PDF" 
                                    Width="32px" />
                            </td>
                        </tr>
                        <tr>
                            <td class="style10">
                                &nbsp;</td>
                            <td class="style11">
                                &nbsp;</td>
                            <td class="style14">
                                &nbsp;</td>
                            <td class="style15">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
                    <br />
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        CellPadding="4" DataKeyNames="Id" DataSourceID="ObjFacultades" 
                        ForeColor="#333333" GridLines="None" Width="911px" BorderColor="Black" 
                        BorderStyle="None" BorderWidth="1px" SkinID="gridView" >
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        <Columns>
                            <asp:BoundField DataField="Id" HeaderText="Documento" />
                            <asp:BoundField DataField="Nom_Tip_Id" HeaderText="Tipo" />
                            <asp:BoundField DataField="Nombre" HeaderText="Nombre o Razón Social" />
                            <asp:BoundField DataField="Direccion" 
                                HeaderText="Dirección" />
                            <asp:BoundField DataField="Telefono" 
                                HeaderText="Telefono" />
                            <asp:BoundField DataField="Email" HeaderText="E-Mail" />
                            <asp:BoundField DataField="Celular" 
                                HeaderText="Celular" />
                            <asp:BoundField DataField="Fax" 
                                HeaderText="Fax" />
                            <asp:ButtonField ButtonType="Image" CommandName="Editar" 
                                ImageUrl="~/Imagenes/Editar.png" Text="Editar" ItemStyle-Width="16" 
                                ItemStyle-Height="16" ><ItemStyle Height="16px" Width="16px" /></asp:ButtonField>
                            <asp:ButtonField ButtonType="Image" CommandName="Eliminar" Text="Eliminar" 
                                ImageUrl="~/Imagenes/remove.png" />
                        </Columns>
                    </asp:GridView>
                      <table align="center" style="width:100%;">
                          <tr>
                              <td class="style9">
                                  &nbsp;</td>
                              <td>
                                  <asp:ImageButton ID="ImageButton3" runat="server" 
                                      ImageUrl="~/Imagenes/document_new.png" />
                              </td>
                              <td>
                                  &nbsp;</td>
                          </tr>
                    </table>
                      <br />
                    <asp:ObjectDataSource ID="ObjFacultades" runat="server" 
                        SelectMethod="GetPersonas" TypeName="Empresas" 
                        OldValuesParameterFormatString="original_{0}">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="TextBox1" Name="Buscar" PropertyName="Text" 
                                Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                    <asp:HiddenField ID="HfOper" runat="server" />
                    <asp:HiddenField ID="HfPK" runat="server" />
                    <br />
                </asp:View>
            </asp:MultiView>
            <br />
        </ContentTemplate>
        <triggers>
            <asp:PostBackTrigger ControlID="ImageButton5" />
            <asp:PostBackTrigger ControlID="ImageButton6" />
        </triggers>
    </asp:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
             </ajaxToolkit:ModalPopupExtender>
             <asp:Button ID="btn_Target" runat="server" style="display:none" />
                    <asp:Button style="DISPLAY: none" id="hiddenTargetControlForModalPopup" runat="server" __designer:wfdid="w98"></asp:Button> 
            <ajaxToolkit:ModalPopupExtender 
            id="ModalPopup" 
            runat="server" 
            TargetControlID="hiddenTargetControlForModalPopup" 
            BackgroundCssClass="modal" 
            DropShadow="True" 
            PopupControlID="programmaticPopup" 
            PopupDragHandleControlID="programmaticPopupDragHandle"
            BehaviorID="programmaticModalPopupBehavior">
            </ajaxToolkit:ModalPopupExtender> 
                <asp:Panel id="programmaticPopup" runat="server" 
                    Width="404px" Height="211px" 
                    CssClass="ModalPanel2" BackColor="White">
                    <asp:Panel id="programmaticPopupDragHandle" runat="Server" Height="30" 
                        __designer:wfdid="w101" CssClass="BarTitleModal2" BackColor="#2E4C0E"><DIV style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; VERTICAL-ALIGN: middle; PADDING-TOP: 5px">
                            <asp:Label ID="Label15" runat="server" Font-Bold="True" ForeColor="White" 
                                Text="RELACORP"></asp:Label>
                        </DIV></asp:Panel> <DIV style="TEXT-ALIGN: center"><BR /><asp:Image id="ImgRst" runat="server" ImageUrl="~/imagenes/error.png" __designer:wfdid="w102" Width="64px" Height="64px"></asp:Image><br /> <asp:Label id="MsgModalPanel" runat="server" Width="278px" Height="33px" __designer:wfdid="w103" Text="Mensaje de Salida"></asp:Label><BR /><BR />
                        <asp:Button ID="Button1" runat="server" Text="Aceptar" />
                        &nbsp;<BR /> <BR /></DIV><BR /></asp:Panel>
             <asp:Button ID="Button2" runat="server" style="display:none" />
             <ajaxToolkit:ModalPopupExtender 
                    id="ModalPopupExtender1" 
                    runat="server" __designer:wfdid="w92" 
                    TargetControlID="Button2" 
                    BackgroundCssClass="modal" 
                    CancelControlID="BCancel" 
                    DropShadow="true" 
                    PopupControlID="Panel1" 
                    PopupDragHandleControlID="Panel2">
             </ajaxToolkit:ModalPopupExtender>
             <asp:Button ID="Button3" runat="server" style="display:none" />
                <asp:Panel 
                id="Panel1" 
                runat="server" 
                Width="410px" 
                Height="191px" 
                __designer:wfdid="w93" 
                CssClass="ModalPanel2" BackColor="White">
                    <asp:Panel 
                    id="Panel2" 
                    runat="server" 
                    Height="30px"
                    __designer:wfdid="w94" 
                    CssClass="BarTitleModal2" 
                    BackColor="#2E4C0E"> 
                    <div style="padding:5px; vertical-align: middle;">
                        <asp:Label ID="Label16" runat="server" Font-Bold="True" ForeColor="White" 
                            Text="RELACORP"></asp:Label>
                    </div>
                    </asp:Panel> &nbsp; &nbsp;&nbsp; <BR />
                    <BR /><DIV style="TEXT-ALIGN: center">
                    <asp:Label id="Label11" runat="server" Width="315px" Height="51px" 
                            __designer:wfdid="w95">Realmente desea eliminar el registro?</asp:Label><BR />
                        <BR />
                        <br />
                    <asp:Button id="Button4" runat="server" Width="62px" __designer:wfdid="w96" 
                            Text="Si"></asp:Button> &nbsp; 
                    <asp:Button id="BCancel" runat="server" Width="62px" __designer:wfdid="w97" 
                            Text="No"></asp:Button> <BR /><BR /></DIV>
                    </asp:Panel>
            </ContentTemplate>
        </asp:UpdatePanel>
    <br />
    <uc1:Up_Ctrl_Personas ID="Up_Ctrl_Personas1" runat="server" />
</asp:Content>

